Skip to content

chore(deps): update haystack-ai requirement from >=2.11.0 to >=2.21.0 in /integrations/google_vertex#3313

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/integrations/google_vertex/haystack-ai-gte-2.21.0
Closed

chore(deps): update haystack-ai requirement from >=2.11.0 to >=2.21.0 in /integrations/google_vertex#3313
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/integrations/google_vertex/haystack-ai-gte-2.21.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 15, 2026

Updates the requirements on haystack-ai to permit the latest version.

Release notes

Sourced from haystack-ai's releases.

v2.21.0

⭐️ Highlights

🔍 Smarter, Broader Retrieval with Multi-Query RAG

This release introduces three new components that significantly boost retrieval recall in RAG systems by expanding the user query and retrieving documents across multiple reformulations:

  • QueryExpander generates semantically similar variations of a user query to broaden search coverage.
  • MultiQueryTextRetriever runs multiple queries in parallel using a text-based retriever (e.g., BM25) and merges results by score.
  • MultiQueryEmbeddingRetriever performs the same multi-query retrieval flow using embeddings, enabling richer semantic recall.

Used together, these components create a multi-query retrieval pipeline that improves recall especially when queries are short or ambiguous.

🧪 Example: Expanding a Query and Retrieving More Relevant Documents

from haystack import Pipeline
from haystack.components.query import QueryExpander
from haystack.components.retrievers import InMemoryBM25Retriever
from haystack.components.retrievers import MultiQueryTextRetriever
from haystack.document_stores.in_memory import InMemoryDocumentStore
from haystack.components.writers import DocumentWriter
from haystack import Document
from haystack.document_stores.types import DuplicatePolicy
Sample documents
docs = [
Document(content="Renewable energy comes from natural sources like wind and sunlight."),
Document(content="Geothermal energy is heat from beneath the Earth's surface."),
Document(content="Hydropower generates electricity using flowing water."),
]
Store documents
store = InMemoryDocumentStore()
writer = DocumentWriter(document_store=store, policy=DuplicatePolicy.SKIP)
writer.run(documents=docs)
Components
expander = QueryExpander()
retriever = InMemoryBM25Retriever(document_store=store, top_k=1)
multi_retriever = MultiQueryTextRetriever(retriever=retriever)
Expand and retrieve
expanded = expander.run(query="renewable energy")
results = multi_retriever.run(queries=expanded["queries"])
for doc in results["documents"]:
print(doc.content)

... (truncated)

Commits
  • ffe5e47 bump version to 2.21.0
  • 08a82c8 bump version to 2.21.0-rc1
  • ecce6f6 chore: small improvements SentenceWindowRetriever
  • 08b979c Sync Haystack API reference on Docusaurus (#10188)
  • bad2937 feat: add run async filter and automerging retriever (#9897)
  • dfd678e Improve flaky tool invocation integration test (#10187)
  • 152a16c Fix flaky parallel tool test with stronger model (#10183)
  • 251335f Sync Haystack API reference on Docusaurus (#10185)
  • adcd4ae chore: Update Azure default model to gpt-4.1-mini (#10167)
  • 0907d89 docs: new page that documents pipeline loops (#10134)
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [haystack-ai](https://github.com/deepset-ai/haystack) to permit the latest version.
- [Release notes](https://github.com/deepset-ai/haystack/releases)
- [Commits](deepset-ai/haystack@v2.11.0...v2.21.0)

---
updated-dependencies:
- dependency-name: haystack-ai
  dependency-version: 2.21.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels May 15, 2026
@dependabot dependabot Bot requested a review from a team as a code owner May 15, 2026 10:57
@dependabot dependabot Bot requested review from sjrl and removed request for a team May 15, 2026 10:57
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels May 15, 2026
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github May 15, 2026

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot Bot deleted the dependabot/pip/integrations/google_vertex/haystack-ai-gte-2.21.0 branch May 15, 2026 11:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file integration:google-vertex python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant